package com.company.java.basic.the_Factory;

public class ConcreteFactoryB implements Factory {
    @Override
    public Product factoryMethod() {
        Product product = new ConcreteProductB();
        System.out.println("工厂B：产品B生成完成");
        return product;
    }
}
